import {defineComponent} from 'vue'
import {ajax, get_img} from "@/serve";
import {window_go_top} from "@/utils";
import {ElMessage as msg} from "element-plus";

export default defineComponent({
    name: 'strip',
    // 数据
    data() {
        return {}
    },

    // 传值
    props: ['paramImgList', 'paramRefreshing', 'paramFinished','paramLoading'],

    // 组件
    components: {},

    // 计算
    computed: {
        imagesList() {
            return this.paramImgList;
        },
        refreshing() {
            return this.paramRefreshing;
        },
        finished() {
            return this.paramFinished;
        },
        loading(){
            return this.paramLoading;
        }
    },

    // 方法
    methods: {
        load_img() {
            this.$emit('load_img');
        },
        refresh_page() {
            this.$emit('refresh_page');
        },
    },

    // 生命周期
    created() {

    },
})